<div class="demo-container">
    <div class="demo-example">
        <div class="demo-title">单个标签</div>
        <div class="demo-text">
            通过labelStyle属性定义标签样式
        </div>
        <d-codebox id="components-tabs-without-content" [sourceData]="customSource">
            <d-custom demo></d-custom>
        </d-codebox>
    </div>
    <div class="demo-example">
        <div class="demo-title">标签组</div>
        <div class="demo-text">
            标签组可传入字符串数组或对象数组，在对象数组中，可通过displayProperty，titleProperty设置标签显示值和title显示值，通过labelStyle设置标签样式
        </div>
        <d-codebox id="components-tabs-default" [sourceData]="basicSource">
            <d-basic demo></d-basic>
        </d-codebox>
    </div>
</div>

